how to graph polynomial functions in factored form